package cn.quevo.cube.provide.data.service;

import cn.quevo.common.entity.PageResult;
import cn.quevo.cube.provide.data.entity.CubeModelDataDetail;
import cn.quevo.cube.provide.data.entity.query.CubeModelDataDetailQuery;

import java.util.Map;

/**
 * 数据记录明细 Service
 *
 * @author July july_sky@foxmail.com
 * @version 1.0
 * @date 2018/12/11 14:58:02
 * @Copyright 东方浩星（北京）传媒科技有限公司版权所有.All Rights Reserved.
 */
public interface CubeModelDataDetailService {

    /**
     * 根据ID获取数据记录明细
     *
     * @param cubeModelDataDetailQuery
     * @return
     * @author July july_sky@foxmail.com
     * @date 2018/12/11 14:58:02
     */
    Map<String,Object> getSinge(CubeModelDataDetailQuery cubeModelDataDetailQuery);

    /**
     * 创建数据记录明细
     *
     * @param cubeModelDataDetail
     * @return
     * @author July july_sky@foxmail.com
     * @date 2018/12/11 14:58:02
     */
    Integer create(CubeModelDataDetail cubeModelDataDetail);

    /**
     * 更新数据记录明细
     *
     * @param cubeModelDataDetail
     * @return
     * @author July july_sky@foxmail.com
     * @date 2018/12/11 14:58:02
     */
    Integer update(CubeModelDataDetail cubeModelDataDetail);

    /**
     * 分页获取数据记录明细
     *
     * @param cubeModelDataDetailQuery
     * @return
     * @author July july_sky@foxmail.com
     * @date 2018/12/11 14:58:02
     */
    PageResult<Map<String,Object>> getPage(CubeModelDataDetailQuery cubeModelDataDetailQuery);
}
